package guava;

import com.google.common.base.Preconditions;

/**
 * PreConditionTest
 *
 * @author nanxin.chen
 * @date 2015/9/8
 */
public class PreConditionTest {
    public static void main(String[] args) {
        int a = 2;
        try {
            Preconditions.checkState(a > 3, "test");
        } catch (Exception e) {
            System.out.println(e.getMessage());

        }
    }
}
